package com.innovation.sys.pojo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "`s_sxs_article`")
public class SSxsArticle implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer articleId;

	private Integer type;

	private String title;

	private String titleImg;

	private String author;

	private String pubPerson;

	private String digest;

	private Integer status;

	private Date createTime;

	private Date updateTime;

	private Date pubTime;

	private Integer delFlag;

	private Integer isHot;

	private String context;

	public Integer getArticleId() {
		return articleId;
	}

	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitleImg() {
		return titleImg;
	}

	public void setTitleImg(String titleImg) {
		this.titleImg = titleImg;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPubPerson() {
		return pubPerson;
	}

	public void setPubPerson(String pubPerson) {
		this.pubPerson = pubPerson;
	}

	public String getDigest() {
		return digest;
	}

	public void setDigest(String digest) {
		this.digest = digest;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getPubTime() {
		return pubTime;
	}

	public void setPubTime(Date pubTime) {
		this.pubTime = pubTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getIsHot() {
		return isHot;
	}

	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	@Override
	public String toString() {
		return "{\"articleId\":\"" + articleId + "\",\"type\":\"" + type + "\",\"title\":\"" + title
				+ "\",\"titleImg\":\"" + titleImg + "\",\"author\":\"" + author + "\",\"pubPerson\":\"" + pubPerson
				+ "\",\"digest\":\"" + digest + "\",\"status\":\"" + status + "\",\"createTime\":\"" + createTime
				+ "\",\"updateTime\":\"" + updateTime + "\",\"pubTime\":\"" + pubTime + "\",\"delFlag\":\"" + delFlag
				+ "\",\"isHot\":\"" + isHot + "\",\"context\":\"" + context + "\"}";
	}

}